package com.zjy.dto;

import java.util.List;

/**
 * 文章筛选条件
 * Created by Administrator on 2019/3/25.
 */
public class ArticleCondition {
    private String userId;//用户id，用于判断是否收藏，是否点赞
    private Integer isCollection; //是否收藏 用于获取文章收藏列表
    private Integer isRecommend;  //是否推荐 用于获取8篇推荐文章
    private String keyword;
    private List<String> tagIdList;
    private Integer dateSort;//时间排序 0：升序 1：降序
    private Integer readSort; //阅读量排序 0：升序 1：降序
    private Integer pageSize;//页面大小
    private Integer pageNum;//页码


    public List<String> getTagIdList() {
        return tagIdList;
    }

    public void setTagIdList(List<String> tagIdList) {
        this.tagIdList = tagIdList;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getDateSort() {
        return dateSort;
    }

    public void setDateSort(Integer dateSort) {
        this.dateSort = dateSort;
    }

    public Integer getReadSort() {
        return readSort;
    }

    public void setReadSort(Integer readSort) {
        this.readSort = readSort;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getIsCollection() {
        return isCollection;
    }

    public void setIsCollection(Integer isCollection) {
        this.isCollection = isCollection;
    }

    public Integer getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }
}
